package com.symaster.common.event;

/**
 * @author yinmiao
 * @version 2022-10-28 14:28
 */
public class Event {
    private Object[] data;

    public static Event ofParam(Object... param) {
        Event event = new Event();
        event.setData(param);
        return event;
    }

    public Object[] getData() {
        return data;
    }

    public void setData(Object... data) {
        this.data = data;
    }
}
